Skip to content

Conversation

Ansonhkg
Copy link
Collaborator

@Ansonhkg Ansonhkg commented Sep 5, 2025

Original PR: #866

Description

  1. Updates to the latest develop build of networkContext.json to catch keysets. Adds a hardcoded naga-keyset1 value, since this is the coding in lit-node right now.

  2. Adds a LICENCE file for the wasm package ( suppresses a warning! )

  3. Removes wasm-opt for the release build of the wasm package. Might be a local descrepency.

How Has This Been Tested?

e2e tests are passing

Do not merge this until these are merged:

@Ansonhkg Ansonhkg changed the title Naga add hardcoded keysets 3 [BREAKING/Feature] Naga add hardcoded keysets 3 Sep 5, 2025
- add missing `maxPrice` in the custom auth payload
- e2e: fix custom auths
@@ -20,7 +20,7 @@
"@elysiajs/cors": "^1.2.0",
"@elysiajs/static": "^1.3.0",
"@elysiajs/swagger": "^1.2.0",
"@lit-protocol/contracts": "^0.4.0",
"@lit-protocol/contracts": "^0.5.0",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated contract addresses for naga-dev

…wraps every chain API. It now builds an overridden networkConfig with the resolved RPC URL and a cloned chainConfig whose rpcUrls.default.http and rpcUrls['public'].http use the override. All downstream consumers (state manager, chain APIs, contracts) automatically use the overridden RPC via the standard construction path. No per-method wrapping needed.
@Ansonhkg Ansonhkg self-assigned this Sep 5, 2025
@Ansonhkg Ansonhkg changed the title [BREAKING/Feature] Naga add hardcoded keysets 3 1 - [BREAKING/Feature] Naga add hardcoded keysets 3 Sep 5, 2025
@Ansonhkg Ansonhkg changed the title 1 - [BREAKING/Feature] Naga add hardcoded keysets 3 [BREAKING/Feature] Naga add hardcoded keysets 3 Sep 5, 2025
@Ansonhkg Ansonhkg changed the title [BREAKING/Feature] Naga add hardcoded keysets 3 ⭐️ [BREAKING/Feature] Naga add hardcoded keysets 3 Sep 15, 2025

[package.metadata.wasm-pack.profile.release]
wasm-opt = false
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no wasm optimizations on release profile? why? it didn't work with optimizations turned on?

Copy link
Collaborator Author

@Ansonhkg Ansonhkg Sep 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @GTC6244 I think you made this change.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@glitch003 - broke for me, but might have been my local environment ?

…om-auth-e2e-tests

[Bug] Fix False Positive Custom Auth Tests
…rwrite-rpc-url-based-880

[Feature] Overwrite RPC URL
…bug-some-methods-are-returning-any-2

Signed-off-by: Anson <[email protected]>
…e-methods-are-returning-any-2

[Bug] fix some methods are returning :any
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants